
# tellraw @a [{"text":"[大逃杀] ","color":"red","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"毒区正在蔓延，请及时进入安全区","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"\n剩余存活玩家：","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"selector":"@a[team=DieOutTeam]","color":"green","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]

# tellraw @a [{"text":"[大逃杀] ","color":"red","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"毒区已稳定，下次蔓延时间：","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"color":"aqua","score":{"objective":"DieOutInfo","name":"TimeClock"},"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"s 后","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"\n剩余存活玩家：","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"selector":"@a[team=DieOutTeam]","color":"green","bold":false,"italic":false,"underlined":false,"strikethrough":false

##第1次：初始化
##第2次刷圈边界更新时间记录  >  刷新中心点（DieOutCenter）设置边界属性"obfuscated":false}]
# tellraw @a [{"text":"[大逃杀] ","color":"red","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"毒区已稳定，下次将在 ","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"color":"aqua","score":{"objective":"DieOutInfo","name":"TimeClock"},"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"s 后开始蔓延","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"\n剩余存活玩家：","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"selector":"@a[team=DieOutTeam]","color":"green","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]
execute if score UpdateCount DieOutInfo matches 11 as @e[type=armor_stand,tag=DieOutCenter] at @s run tellraw @a [{"text":"[大逃杀] ","color":"red","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"毒区正在蔓延，请及时进入安全区","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"\n剩余存活玩家：","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"selector":"@a[team=DieOutTeam]","color":"green","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]
execute if score UpdateCount DieOutInfo matches 11 as @e[type=armor_stand,tag=DieOutCenter] at @s run spreadplayers ~ ~ 0 17.5 false @s
execute if score UpdateCount DieOutInfo matches 11 run worldborder damage amount 0.2
execute if score UpdateCount DieOutInfo matches 11 run worldborder set 65 30
execute if score UpdateCount DieOutInfo matches 11 run scoreboard players set TimeClock DieOutInfo 30

#第3次刷圈结束，更新下次刷圈之前的等待时间
execute if score UpdateCount DieOutInfo matches 10 run scoreboard players set TimeClock DieOutInfo 60
execute if score UpdateCount DieOutInfo matches 10 run tellraw @a [{"text":"[大逃杀] ","color":"red","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"毒区已稳定，下次将在 ","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"color":"aqua","score":{"objective":"DieOutInfo","name":"TimeClock"},"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"s 后开始蔓延","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"\n剩余存活玩家：","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"selector":"@a[team=DieOutTeam]","color":"green","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]


##第3次刷圈边界更新时间记录  >  刷新中心点（DieOutCenter）设置边界属性
execute if score UpdateCount DieOutInfo matches 9 as @e[type=armor_stand,tag=DieOutCenter] at @s run tellraw @a [{"text":"[大逃杀] ","color":"red","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"毒区正在蔓延，请及时进入安全区","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"\n剩余存活玩家：","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"selector":"@a[team=DieOutTeam]","color":"green","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]
execute if score UpdateCount DieOutInfo matches 9 as @e[type=armor_stand,tag=DieOutCenter] at @s run spreadplayers ~ ~ 0 12.5 false @s
execute if score UpdateCount DieOutInfo matches 9 run worldborder damage amount 0.5
execute if score UpdateCount DieOutInfo matches 9 run worldborder set 40 25
execute if score UpdateCount DieOutInfo matches 9 run scoreboard players set TimeClock DieOutInfo 25

#第4次刷圈结束，更新下次刷圈之前的等待时间
execute if score UpdateCount DieOutInfo matches 8 run scoreboard players set TimeClock DieOutInfo 45
execute if score UpdateCount DieOutInfo matches 8 run tellraw @a [{"text":"[大逃杀] ","color":"red","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"毒区已稳定，下次将在 ","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"color":"aqua","score":{"objective":"DieOutInfo","name":"TimeClock"},"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"s 后开始蔓延","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"\n剩余存活玩家：","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"selector":"@a[team=DieOutTeam]","color":"green","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]


##第4次刷圈边界更新时间记录  >  刷新中心点（DieOutCenter）设置边界属性
execute if score UpdateCount DieOutInfo matches 7 as @e[type=armor_stand,tag=DieOutCenter] at @s run tellraw @a [{"text":"[大逃杀] ","color":"red","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"毒区正在蔓延，请及时进入安全区","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"\n剩余存活玩家：","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"selector":"@a[team=DieOutTeam]","color":"green","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]
execute if score UpdateCount DieOutInfo matches 7 as @e[type=armor_stand,tag=DieOutCenter] at @s run spreadplayers ~ ~ 0 7.5 false @s
execute if score UpdateCount DieOutInfo matches 7 run worldborder damage amount 1
execute if score UpdateCount DieOutInfo matches 7 run worldborder set 25 20
execute if score UpdateCount DieOutInfo matches 7 run scoreboard players set TimeClock DieOutInfo 20

#第5次刷圈结束，更新下次刷圈之前的等待时间
execute if score UpdateCount DieOutInfo matches 6 run scoreboard players set TimeClock DieOutInfo 30
execute if score UpdateCount DieOutInfo matches 6 run tellraw @a [{"text":"[大逃杀] ","color":"red","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"毒区已稳定，下次将在 ","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"color":"aqua","score":{"objective":"DieOutInfo","name":"TimeClock"},"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"s 后开始蔓延","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"\n剩余存活玩家：","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"selector":"@a[team=DieOutTeam]","color":"green","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]


##第5次刷圈边界更新时间记录  >  刷新中心点（DieOutCenter）设置边界属性
execute if score UpdateCount DieOutInfo matches 5 as @e[type=armor_stand,tag=DieOutCenter] at @s run tellraw @a [{"text":"[大逃杀] ","color":"red","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"毒区正在蔓延，请及时进入安全区","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"\n剩余存活玩家：","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"selector":"@a[team=DieOutTeam]","color":"green","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]
execute if score UpdateCount DieOutInfo matches 5 as @e[type=armor_stand,tag=DieOutCenter] at @s run spreadplayers ~ ~ 0 5 false @s
execute if score UpdateCount DieOutInfo matches 5 run worldborder damage amount 2
execute if score UpdateCount DieOutInfo matches 5 run worldborder set 15 15
execute if score UpdateCount DieOutInfo matches 5 run scoreboard players set TimeClock DieOutInfo 15

#第6次刷圈结束，更新下次刷圈之前的等待时间
execute if score UpdateCount DieOutInfo matches 4 run scoreboard players set TimeClock DieOutInfo 20
execute if score UpdateCount DieOutInfo matches 4 run tellraw @a [{"text":"[大逃杀] ","color":"red","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"毒区已稳定，下次将在 ","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"color":"aqua","score":{"objective":"DieOutInfo","name":"TimeClock"},"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"s 后开始蔓延","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"\n剩余存活玩家：","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"selector":"@a[team=DieOutTeam]","color":"green","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]


##第6次刷圈边界更新时间记录  >  刷新中心点（DieOutCenter）设置边界属性
execute if score UpdateCount DieOutInfo matches 3 as @e[type=armor_stand,tag=DieOutCenter] at @s run tellraw @a [{"text":"[大逃杀] ","color":"red","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"毒区正在蔓延，请及时进入安全区","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"\n剩余存活玩家：","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"selector":"@a[team=DieOutTeam]","color":"green","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]
execute if score UpdateCount DieOutInfo matches 3 as @e[type=armor_stand,tag=DieOutCenter] at @s run spreadplayers ~ ~ 0 3.5 false @s
execute if score UpdateCount DieOutInfo matches 3 run worldborder damage amount 3
execute if score UpdateCount DieOutInfo matches 3 run worldborder set 8 10
execute if score UpdateCount DieOutInfo matches 3 run scoreboard players set TimeClock DieOutInfo 10

#第7次刷圈结束，更新下次刷圈之前的等待时间
execute if score UpdateCount DieOutInfo matches 2 run scoreboard players set TimeClock DieOutInfo 10
execute if score UpdateCount DieOutInfo matches 2 run tellraw @a [{"text":"[大逃杀] ","color":"red","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"毒区已稳定，下次将在 ","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"color":"aqua","score":{"objective":"DieOutInfo","name":"TimeClock"},"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"s 后开始蔓延","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"\n剩余存活玩家：","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"selector":"@a[team=DieOutTeam]","color":"green","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]


##第7次刷圈边界更新时间记录  >  刷新中心点（DieOutCenter）设置边界属性
execute if score UpdateCount DieOutInfo matches 1 as @e[type=armor_stand,tag=DieOutCenter] at @s run tellraw @a [{"text":"[大逃杀] ","color":"red","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"毒区正在蔓延，请及时进入安全区","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"\n剩余存活玩家：","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"selector":"@a[team=DieOutTeam]","color":"green","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]
execute if score UpdateCount DieOutInfo matches 1 as @e[type=armor_stand,tag=DieOutCenter] at @s run spreadplayers ~ ~ 0 3.5 false @s
execute if score UpdateCount DieOutInfo matches 1 run worldborder damage amount 4
execute if score UpdateCount DieOutInfo matches 1 run worldborder set 1 5
execute if score UpdateCount DieOutInfo matches 1 run scoreboard players set TimeClock DieOutInfo 5

#最后一次刷圈结束
execute if score UpdateCount DieOutInfo matches 0 run tellraw @a [{"text":"[大逃杀] ","color":"red","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"毒区完全封锁，勇士们，顶住！","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"\n剩余存活玩家：","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"selector":"@a[team=DieOutTeam]","color":"green","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]
execute if score UpdateCount DieOutInfo matches 0 run scoreboard players set TimeClock DieOutInfo -1

#每次刷新时更新UpdateCount
execute if score UpdateCount DieOutInfo matches 1.. run scoreboard players remove UpdateCount DieOutInfo 1